<form method='post' action='<?=$_SERVER['REQUEST_URI']?>' class="dataForm">
	<div class="zzlBox">
		<label for="">用户名：</label>
		<input class="zInput" type="text" value="<?=@$yy['AdminUser']['username']?>" name='username' placeholder="用户名">
	</div>
	<div class="zzlBox">
		<label for="">密码：</label>
		<input class="zInput" type="text" value="" name='password' placeholder="密码">
	</div>
	<div class="zzlBox">
		<label for="">确认密码：</label>
		<input class="zInput" type="text" value="" name='cpassword' placeholder="确认密码">
	</div>
	<div class="zzlBox">
		<label for="">使用人：</label>
		<input class="zInput" type="text" value="<?=@$yy['AdminUser']['c_name']?>" name='c_name' placeholder="使用人">
	</div>
	<div class="zzlBox">
		<label for="">角色：</label>
		<select name="role" class="zSelect">
			<?php if(!empty($yy)):?>
			<option selected="selected" value="<?=@$yy['AdminUser']['role']?>"><?=@$yy['AdminUser']['role_name']?></option>
			<?php endif;?>		
			<?php foreach ($roles as $key => $value):?>
				<?php if($value['Role']['role']!='超级管理员'):?>
				<option value="<?=$value['Role']['id']?>"><?=$value['Role']['role']?></option>
				<?php endif;?>
			<?php endforeach;?>
		</select>
	</div>
	<button class="zSubmit" type="submit">提交</button>
</form>